/*
 * @Description:
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2023-09-25 14:05:22
 * @LastEditors: Seven
 * @LastEditTime: 2023-10-23 16:32:49
 */
/*
 * @Description:
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2023-09-25 14:04:46
 * @LastEditors: Seven
 * @LastEditTime: 2023-10-16 17:23:17
 */
import React, { memo, useEffect } from "react";
import { Outlet } from "react-router-dom";
import { PlayWrapper } from "./style";
import { getDicDataList } from "@/services/modules/plan";
import { loacalCache } from "@/ultils/func";
const RepairSchedule = memo(() => {
  useEffect(() => {
    getDicDataList().then((res) => {
      if (res.code === 200) {
        loacalCache.setCache("DicDataList", res?.data);
      }
    });
  }, []);
  return (
    <PlayWrapper>
      <Outlet />
    </PlayWrapper>
  );
});

export default RepairSchedule;
